<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title></title>
      <link rel="stylesheet" href="{{asset('/bootstrap-3.3.7/css/bootstrap.min.css')}}">
  </head>
  <body>
      <div class="container">
        @include('Common/tip')
        <form class="" action="{{url('/admin/product', $good->id)}}" method="post">
            {{csrf_field()}}

              <!-- 伪造表单提交方式为PUT -->
            {{ method_field('PUT') }}
            商品名：<input type="text" class="form-control" value="{{$good->gname}}" name="gname" />            


            价格：<input type="text" class="form-control" value="{{$good->price}}" name="price" />
            <button type="submit" class="btn btn-success">修改</button>
        </form>
      </div>
  </body>
</html>